package com.ruoyi.entity.service;

import com.ruoyi.entity.domain.Image;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 图片Service接口
 *
 * @author Delamer
 * @date 2020-12-23
 */
public interface IImageService extends IService<Image> {
    public Image getImageByKey(String key);

    public Image getImageByKeyNot(String key);

    public Integer getImageSizeByKey(String key);

    public Integer getImageSizeByKeyNot(String key);

    public List<Image> getImagesUnLoad();

    public List<Image> getImagesError();

    public List<Image> getImageBySql(String sql);
}
